package com.wl.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 此类是分页的所有数据 向页面传参
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {
    private Integer totals = 0;//总条数
    private List<T> data = new ArrayList<>();//当前展示数据
}
